﻿/// ****************************************************************************
/// Author:	        Robin Zhu
/// Create Date:	2012-4-17
/// Purpose: 		用户与角色的对应关系
/// ****************************************************************************
/// Modify By		Date			Remark
/// ****************************************************************************
/// 
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RB.Domain.Models;
using System.Runtime.Serialization;

namespace RB.Web.Security
{
    /// <summary>
    /// ToDo: Write comment of the class here
    /// </summary>
    [DataContract]
    [RB.DataAccess.Attributes.QueryName("UserAccountRole")]
    [RB.DataAccess.Attributes.TableName("UserAccountRole")]
    public class UserAccountRole : ICreateLog
    {
        public System.Guid UserId { get; set; }

        public System.Guid RoleId { get; set; }

        [System.ComponentModel.DataAnnotations.StringLengthAttribute(50)]
        public string CreateBy { get; set; }

        public DateTime? CreateTime { get; set; }

    }

}
